<%@ page import="com.xdwanj.servlet.UserServlet" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/jsp/common/head.jsp" %>

<div class="container">
    <form id="mh-login-form" method="post"
          action="${pageContext.request.contextPath}/user?method=<%=UserServlet.UPDATE_PWD%>"
          class="form-horizontal mh-login-wrap">

        <div class="mh-login-list">
            <div class="form-group" id="mh-group-oldpassword">
                <label class="col-sm-2 control-label">旧密码 :</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" name="password" id="mh-oldpassword"
                           placeholder="old password">
                </div>

            </div>
            <div class="form-group" id="mh-group-newpassword">
                <label class="col-sm-2 control-label">新密码 :</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" placeholder="new password" id="mh-newpassword">
                </div>
            </div>
            <div class="form-group" id="mh-group-rnewpassword">
                <label class="col-sm-2 control-label">确认新密码 :</label>
                <div class="col-sm-10">
                    <input type="password" class="form-control" placeholder="new password" id="mh-rnewpassword"
                           name="oldPassword">
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default" id="mh-save">保存</button>
                </div>
            </div>
        </div>

    </form>
</div>

<%@include file="/jsp/common/foot.jsp" %>
<script charset="UTF-8" src="${pageContext.request.contextPath}/js/pwdmodify.js"></script>
